package archer.application.elastic.mock.core.entity.user;


import archer.framework.common.constant.Constant;

import javax.persistence.*;
import java.util.List;

/**
 * @author christ
 * @date 2016/6/7
 */
@Entity
@Inheritance
@DiscriminatorValue("STAFF")
public class Staff extends User {

    public static final Find<Staff> find = new Find<Staff>(Staff.class);

    @Column(columnDefinition = "char(1)  default 'N' COMMENT'是否系统数据'")
    protected String sysData = Constant.EntityDefault.N;


    public String getSysData() {
        return sysData;
    }

    public Staff setSysData(String sysData) {
        this.sysData = sysData;
        return this;
    }

}
